package com.hl.shifangzhiyu.mapper;

import com.hl.shifangzhiyu.pojo.ConsultLevels;
import com.hl.shifangzhiyu.pojo.Regions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
/**
* @author Administrator
* @description 针对表【consult_levels(咨询等级表)】的数据库操作Mapper
* @createDate 2025-06-06 09:32:31
* @Entity com.hl.shifangzhiyu.entity.ConsultLevels
*/
public interface ConsultLevelsMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ConsultLevels record);

    int insertSelective(ConsultLevels record);

    ConsultLevels selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConsultLevels record);

    int updateByPrimaryKey(ConsultLevels record);

    @Select("select * from consult_levels")
    List<ConsultLevels> listAll();
}
